package com.quanxiaoha.weblog.common.service;

import com.quanxiaoha.weblog.common.domain.query.RewardQuery;
import com.quanxiaoha.weblog.common.domain.vo.PointVo;
import com.quanxiaoha.weblog.common.domain.entity.ScheduleReward;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Roy
 * @since 2025-06-06
 */
public interface IScheduleRewardService extends IService<ScheduleReward> {

    void init();

    PointVo getPoint(Integer tagId);

    ScheduleReward getDetail();

    void saveReward(Integer reward,Integer tagId);

    Integer saveHabitReward();

    void consume(RewardQuery query);

    void autoConsume(Integer tagId, Integer minutes);

    void autoReward(Integer minutes);

    void continuousWork(Integer tagId, Integer minutes);

}
